package samples.barcode;

import javax.swing.ImageIcon;

import br.cin.ufpe.in1118.middleware.distribution.services.GenericStub;
import br.cin.ufpe.in1118.middleware.distribution.services.ObjectReference;
import br.cin.ufpe.in1118.middleware.exceptions.RemoteException;

public class Barcode_Stub extends GenericStub implements Barcode {

	public Barcode_Stub(ObjectReference objectReference) {
		super(objectReference);
	}

	@Override
	public ImageIcon createBarCode(int num) throws RemoteException {
		return (ImageIcon) super.execute("createBarCode", num);
	}

}
